home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10913 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.mindspring.com!usenet
  2. From: anonymous@atl.mindspring.com
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Invoke a outside utility from c program in MS-Window environments
  5. Date: Wed, 20 Mar 1996 21:02:28 GMT
  6. Organization: MindSpring Enterprises, Inc.
  7. Message-ID: <4iprk5$ban@B1FF.mindspring.com>
  8. References: <4inf73$lh@crucis.usc.edu>
  9. Reply-To: vtipres@atl.mindspring.com
  10. NNTP-Posting-Host: user-168-121-120-68.dialup.mindspring.com
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. haiz@crucis.usc.edu (Hai Zhang) wrote:
  14.  
  15. >Hi,
  16.  
  17. >I am new to program in MS-Window and have following question:
  18.  
  19. >I try to write a c application in MS-Windows environment. In one
  20. >procedure I want user input a file name and compress the corresponding
  21. >file. I want to use pkzip to do the real job. My question is whether
  22. >it is possible to invoke a outside utility such as pkzip in MS-Windows.
  23. >In unix I could use system() function or even execl or execv(). 
  24.  
  25. >I do not want to buy a separate library package from pkware, since I
  26. >will only use small part of the compressing utility.
  27.  
  28.  
  29. >Thanks
  30.  
  31. >Bing Zhang
  32. >Dept. of Mechanical Engineering
  33. >University of Southern California
  34.  
  35. Can you do OLE with this?  If so, try embedding a PIF
  36.  
  37.